def decorator(func):
    def inner(*args, **kwargs):  # 接受任意参数
        print("before")
        nei = func(*args, **kwargs)  # 调用原来的函数
        print("after")
        return nei

    return inner


@decorator  # func1 = decorator(func1)
def func1(a1):
    print("我是func1函数")
    value = (11, 22, 33, 44)
    return value


@decorator  # func2 = decorator(func2)
def func2(b1, b2):
    print("我是func2函数")
    value = (11, 22, 33, 44)
    return value


@decorator  # func3 = decorator(func3)
def func3(c1):
    print("我是func3函数")
    value = (11, 22, 33, 44)
    return value


aa = func1(11)
# print(aa)
bb = func2(22, 33)
cc = func3(44)
